package com.nuance.assignment.fileInfo.shared;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Pure client side JavaScriptObject to parse file page's response information
 * from Json string Uses JSNI for implementation.
 * 
 * @author parag
 *
 */
public class StringArrayResponseJavaScriptObject extends JavaScriptObject {

	protected StringArrayResponseJavaScriptObject() {
	}

	public final native boolean isSuccess()/*-{
		return this.success
	}-*/;

	public final native String[] getMessages() /*-{
		return this.messages
	}-*/;

	public final native String[] getPalyload()/*-{
		return this.payload
	}-*/;
}
